/**
 * Copyright (C), 2020, JieYi Software System Co., Ltd.
 * All rights reserved.
 * FileName:       JumpServerController.java
 *
 * @Description:
 * @author: feiwe
 * Modification History:
 * Date         Author        Version        Discription
 * -------------------------------------------------------
 * 2020/12/2      feiwe                         add
 */


package com.fengwei.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class JumpServerController {
    private final static Logger logger = LoggerFactory.getLogger(MdmsDatabaseController.class);

    @GetMapping(value = "/jumpServer/loadPage")
    public ModelAndView loadPage(Model model, HttpServletRequest request, HttpServletResponse response) throws Exception {
        //return "forward:https://116.63.49.33:18000/";
        return new ModelAndView("forward:https://116.63.49.33:18000");
        //return new ModelAndView("redirect:https://www.baidu.com/");
    }
}
